package com.ojoin.trade.supplyloan_core.web.service;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlPlatformUser;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlSupplysettleaccountCheck;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 15-10-27
 * Time: 下午3:07
 * To change this template use File | Settings | File Templates.
 */
public interface TbSlSupplysettleaccountCheckService extends BaseService<TbSlSupplysettleaccountCheck>{
    /**
     * 新增供应商电商平台的结算账户的校验信息
     * @param idOfTbMerchantUser
     * @param platformName
     * @param idOfPlatformUser
     * @param supplySettleAccount
     * @param joinFinancialAccount
     * @param checkStatus
     * @param memo
     * @throws BusinessException
     */
    public void insertTbSlSupplysettleaccountCheck(int idOfTbMerchantUser,String platformName,int idOfPlatformUser,String supplySettleAccount,String joinFinancialAccount,int checkStatus,String memo)throws BusinessException;

    /**
     *查询商户当天的结算账户的校验结果信息
     * @param joinid
     * @return
     * @throws BusinessException
     */
    public  TbSlSupplysettleaccountCheck queryAccountCheckByJoinid(int joinid)throws BusinessException;

    public TbSlSupplysettleaccountCheck getAccountCheckVOByPlatformUser(TbSlPlatformUser platformUser);
    
}
